#ifndef COLOR_HPP__  
#define COLOR_HPP__  
#include <string>  
enum eColor { none = 0, red, white, blue, yellow, green, black };  
  
class Color  
{  
public:  
    Color(eColor color);  
    void setColor(eColor color);  
    eColor getColor() { return mColor; };  
    std::string getStrColor();  
  
protected:  
    eColor mColor;  
};  
  
Color::Color(eColor _color)  
{  
   mColor = _color;  
}  
  
void Color::setColor(eColor _color)  
{  
    mColor = _color;  
}  
  
std::string Color::getStrColor()  
{  
    switch(mColor)  
    {  
       case red:  
           return "red";  
       case white:  
           return "white";  
       case blue:  
           return "blue";  
       case yellow:  
           return "yellow";  
       case green:  
           return "green";  
       case black:  
           return "black";  
       case none:  
       default:  
           return "none";  
    }  
}  
#endif  